package by.averianov.discounta.dataaccess;

import java.util.List;

import javax.transaction.Transactional;

import by.averianov.discounta.datamodel.UserAccount;

public interface UserAccountDao extends AbstractDao<Long, UserAccount>{

	List<UserAccount> getAllAccountOrderId();
	
	@Transactional
	void setUserStatus(Boolean status, Long id);

	UserAccount getByEmail(String email);
}
